package com.vogue.supplymall.shop.domain.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.vogue.supplymall.shop.domain.model.ProductPrice;

/**
 * @Aouthor: zhangliang
 * @Date: Create in 2017-12-07
 */
public interface ProductPriceDao extends BaseDao<ProductPrice, Long> {
	/**
     * 根据syscodeid、productid、attrplanid、oneid(针对全部买家为0)
     */
	public List<ProductPrice> findProductPriceBySPAO(Long syscodeId,Long productId,Long attrplanId,Long oneId);
	/**
	 * 根据syscodeid、productid、attrplanid、oneid删除当前记录，然后插入新的记录
	 */
	public void delProductPriceBySPAO(Long syscodeId,Long productId,Long attrplanId,Long oneId);
}
